package com.elitel.frame.base.service;

import com.elitel.frame.main.entity.AcAppServiceRelation;
import com.elitel.frame.main.entity.AcFilterStation;
import com.elitel.frame.main.entity.dto.AcAppServiceRelationDTO;

import java.util.List;

/**
 *访问控制-应用和服务精细化访问配置服务层
 * @author hi_bj
 */
public interface ApplicationServiceAccessConfigService {

    /**
     * 获取分页数据
     *
     * @param acAppServiceRelation 实体对象
     * @return
     */
    List<AcAppServiceRelation> getDataList(AcAppServiceRelation acAppServiceRelation);

    /**
     * 保存数据
     *
     * @param dto 实体对象
     * @return
     */
    int save(AcAppServiceRelationDTO dto);


    /**
     * 获取目标业务库中新增的测站数据
     * @param acAppServiceRelation
     * @return
     */
    List<AcFilterStation> getInsertStationParams(List<AcAppServiceRelation> acAppServiceRelation);

}
